package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.item.entity.SpecGroup;
import com.leyou.item.entity.SpecParam;
import com.leyou.pojo.dto.GroupDTO;

import java.util.List;

public interface SpecGroupService extends IService<SpecGroup> {
    void addOrUpdateSpecGroup(GroupDTO groupDTO);


    List<GroupDTO> findGroudsByCategoryId(Long id);

    List<GroupDTO> findGroudsAndParamsByCategoryId(Long cid);


}
